body {
  width: 100vw;
  height: 100vh;
  display: grid;
  justify-content: center;
  align-content: center;
}

.swiper {
  position: relative;
  transform-style: preserve-3d;
  transition: 1s;
  transform-origin: center center -150px;
  &:hover {
    // transform: rotateX(145deg) rotateY(145deg);
  }
  .container {
    display: flex;
    position: absolute;
    z-index: 0;
    > section {
      position: relative;
      z-index: 0;
      transform-style: preserve-3d;
      transition: 1s;
      > div {
        position: absolute;
        overflow: hidden;
        @for $i from 1 to 5 {
          &:nth-child(#{$i}) {
            transform: rotateX(-#{$i * 90}deg);
          }
        }
      }
    }
  }
  .paginate {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    justify-items: center;
    width: 200px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 30px;
    z-index: 100;
    span {
      display: block;
      background-color: blueviolet;
      color: #fff;
      font-weight: bold;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      cursor: pointer;
      &.active {
        background-color: #000;
      }
    }
  }
}
